package ld.service;

import ld.pojo.Emp;
import ld.vo.EmpVo;
import ld.utils.PageResult;

import java.util.List;

/**
 * @Author: Liudao
 * @Date: 2022-08-04-14:51
 * @Description:
 */
public interface EmpService {

    List<Emp> findAll();

    PageResult<Emp> findBypage(int page, int pagesize);

    PageResult<Emp> search(int page, int pagesize, EmpVo emp);

    void add(Emp emp1);

    void update(Emp emp1);

    void delete(String[] eids);
}
